<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>${param.title }</title>
<jsp:include page="../../../inc/css.jsp"></jsp:include>
<jsp:include page="../../../inc/js.jsp"></jsp:include>
<script type="text/javascript">
	$(document).ready(function() {
		$.get("getSelect.do",{type:'zw',code:null,index:'${o.name}'}, function(data){$("select#name").append(data);});
		$.get("getSelect.do",{type:'2',index:'${o.sex}'}, function(data){$("select#sex").append(data);});
		$.get("getSelect.do",{type:'1',code:null,index:'${o.region}'}, function(data){$("select#region").append(data);});
		$.get("getSelect.do",{type:'5',index:'${o.workType}'}, function(data){$("select#workType").append(data);});
	});
</script>
</head>
<body>
<div id="body">
<jsp:include page="../../../head.jsp"></jsp:include>
<table>
	<tr><td valign="top"><jsp:include page="leftMenu.jsp"/></td>
	<td valign="top">
	<form action="addPosition.do" id="f" method="post">
<fieldset>
	<legend>发布招聘</legend>
		<div><label>职位名称</label><select id="name" name="name"><option>请选择</option></select></div>
		<div><label>区域</label><select id="region" name="region"><option>请选择</option></select></div>
		<div><label>性别</label><select id="sex" name="sex"><option>请选择</option></select></div>
		<div><label>工资</label><input type="text" name="wages" value="${o.wages}"></div>
		<div><label>是否兼职</label><select id="workType" name="workType"><option>请选择</option></select></div>
		<div><label>人数</label><input type="text" name="persons" value="${o.persons}"></div>
		<div><label>有效期</label><input type="text" name="days" value="${o.days}"></div>
		<div><label>具体</label><textarea rows="" cols="" name="detail" >${o.detail}</textarea></div>
</fieldset>
<div><input type="submit" value="添加" > <input type="reset" value="重置"></div>
</form>
	</td></tr>
</table>
<jsp:include page="../../../foot.jsp"></jsp:include>
</div>
</body>
</html>